//
//  YKBrandsGridViewCell.m
//  YKYintaiHD
//
//  Created by user on 12-3-26.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "YKBrandsGridViewCell.h"


@implementation YKBrandsGridViewCell
@synthesize index;

-(NSString *) reuseIdentifier{
	NSString* ret=nil;
	if(m_reuseIdentifier!=nil){
		ret=[[m_reuseIdentifier copy] autorelease];
	}else{
		ret=[[self class] description];
	}
	return ret;
}

-(id) initWithFrame:(CGRect)frame reuseIdentifier:(NSString*) identifier{
	if((self=[super initWithFrame:frame])){
		m_reuseIdentifier=[identifier copy];
	}
//    UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(UesrClicked:)];
//    [self addGestureRecognizer:singleTap];
	return self;
}

//- (void)UesrClicked:(id)sender
//{
//    NSString *str = [[NSString alloc] initWithFormat:@"第%d个", self.tag];
//    UIAlertView * alert = [[UIAlertView alloc] initWithTitle:@"data" message:str delegate:nil cancelButtonTitle:@"ok" otherButtonTitles:nil, nil];
//    [alert show];
//    [alert release];
//    [str release];
//}

@end
